﻿namespace AccelerateSensor.Console.Tools
{
    public static class Constants
    {
        //命令定义
        public static readonly int CmdHeartbeat = 0x0; //心跳
        public static readonly int CmdGatewayAttribute = 0x61; //网关属性
        public static readonly int CmdNodeAttribute = 0x62; //节点属性
        public static readonly int CmdNodeData = 0x70; //节点数据

        public static readonly string HeartbeatString = "{\"code\":200,\"message\":\"HEARTBEAT\"}";
    }
}
